package com.lsj.service;

import com.lsj.core.exception.CustomerException;
import com.lsj.core.page.QueryPage;
import com.lsj.core.page.ResultPage;
import com.lsj.dto.sys.UserDto;
import com.lsj.dto.sys.UserPwdResetDto;
import com.lsj.dto.sys.UserUpdateDto;

/**
 * @Author:lin.sj
 * @Data:2021/7/7 19:46
 * @Desc:
 */
public interface UserService {
    void register(UserDto userDto) throws CustomerException;
    boolean validateUsername(String username);
    void updateUser(UserUpdateDto userUpdateDto);
    UserDto getUserById(Long id);
    ResultPage<UserDto> listUser(QueryPage<UserDto> queryPage);
    void deleteUserById(long userId);
    void passwordReset(UserPwdResetDto resetDto);
}
